a2361ff5f2e0e3088a15148384aeb602d867d649,libssj/src/main/java/hcm/ssj/file/SimpleFileWriter.java,SimpleFileWriter,enter,#Stream[]#,89
Before Change
options.filePath.set(LoggingConstants.SSJ_EXTERNAL_STORAGE);
}
File fileDirectory = new File(options.filePath.parseWildcards());
if (!fileDirectory.exists())
{
if (!fileDirectory.mkdirs())
{
Log.e(fileDirectory.getName() + " could not be created");
return;
}
}
if (options.fileName.get() == null)
{
After Change
Log.w("file path not set, setting to default " + LoggingConstants.SSJ_EXTERNAL_STORAGE);
options.filePath.set(LoggingConstants.SSJ_EXTERNAL_STORAGE);
}
File fileDirectory = Util.createDirectory(options.filePath.parseWildcards());
if (options.fileName.get() == null)
{